Automattic\Jetpack\Plugins_Installer S

Total Complexity 48
Dependencies 4
Dependents 8
Total lines 272
Lines of code 146
Logical lines of code 89
Comment lines 89
Methods 11
Properties 0

Methods 11

Method Rating Maintainability Complexity Lines of code
is_current_request_activating_plugin_from_plugins_screen()
A
47 14 31
install_plugin()
A
47 9 33
install_and_activate_plugin()
S
55 6 20
get_plugin_id_by_slug()
S
58 5 15
get_plugins()
S
58 4 15
get_plugin_status()
S
66 3 9
ensure_plugin_functions_are_loaded()
S
73 2 5
get_slug_from_file_path()
S
68 2 7
generate_wordpress_org_plugin_download_link()
S
79 1 3
is_plugin_active()
S
76 1 4
is_plugin_active_for_network()
S
76 1 4